import core from './core';

module.exports = (r) => {
    //ctx.request.body
    r.post('/upload', ctx => core(ctx.request.body, ctx).then(ctx.done, ctx.fail));
    return true;
};
